package com.netty.rpc.impl;

import com.netty.rpc.api.ComputeApi;

/**
 * Created by XiongMM on 2017/11/23.
 */
public class ComputeApiImpl implements ComputeApi {

    @Override
    public int add(int a, int b) {
        return a+b;
    }

    @Override
    public int sub(int a, int b) {
        return a-b;
    }
}
